package com.example.service;

import com.example.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.utils.ResponseResult;

import java.util.List;

/**
* @author sprite-pc
* @description 针对表【sg_category(分类表)】的数据库操作Service
* @createDate 2023-12-31 14:15:55
*/
public interface CategoryService extends IService<Category> {

    List<Category> listAllCategory();

    ResponseResult getList(int pageNum, int pageSize,String name,String status);


    ResponseResult saveCategory(Category category);

    ResponseResult deleteCategory(List<Long> ids);
}
